<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../common/vue2/vue.js"></script>
</head>

<body>
    <div id="app">
        <p>{{message}}</p>
    </div>

    <script type="text/javascript">
        var app = new Vue({
            el: '#app',
            data: {
                message: 'Hello Vue!'
            },
            created() {
                console.log('created',this.message)
            },
            mounted() {
                console.log('mounted',this.message)
            },
            updated() {
                console.log('updated',this.message)
            },
            destroyed() {
                console.log('destroyed',this.message)
            },
        })
    </script>
</body>

</html>